package top.iflyoung.cim.biz.service;

import com.baomidou.mybatisplus.extension.service.IService;
import top.iflyoung.cim.biz.entity.P2PChatMessage;

import java.util.List;

/**
 * @author liguiyang
 * @description 点对点信息的Service类
 * @sine 1.8
 * @date 2021/9/222:42
 **/
public interface P2PChatMessageService extends IService<P2PChatMessage> {
    /**
     * 获取私聊列表
     * @param senderId
     * @param receiverId
     * @return
     */
    List<P2PChatMessage> findP2PChatMessage(Long senderId, Long receiverId);
}
